﻿namespace Model.Comm
{
    using System;

    public class CommEnt
    {
        private int _chainnum;
        private string _commbarcode;
        private string _commcode;
        private int _commdefaultdlid;
        private int _commid;
        private string _commname;
        private string _commnum;
        private string _commspec;
        private int _commtypeid;
        private string _communit;
        private decimal _defaultprice;
        private int _isallowdiscount;
        private DateTime _lastupdatetime;
        private decimal _mindiscount;
        private int _ordernum;

        public int ChainNum
        {
            get
            {
                return this._chainnum;
            }
            set
            {
                this._chainnum = value;
            }
        }

        public string CommBarCode
        {
            get
            {
                return this._commbarcode;
            }
            set
            {
                this._commbarcode = value;
            }
        }

        public string CommCode
        {
            get
            {
                return this._commcode;
            }
            set
            {
                this._commcode = value;
            }
        }

        public int CommDefaultDlId
        {
            get
            {
                return this._commdefaultdlid;
            }
            set
            {
                this._commdefaultdlid = value;
            }
        }

        public int CommId
        {
            get
            {
                return this._commid;
            }
            set
            {
                this._commid = value;
            }
        }

        public string CommName
        {
            get
            {
                return this._commname;
            }
            set
            {
                this._commname = value;
            }
        }

        public string CommNum
        {
            get
            {
                return this._commnum;
            }
            set
            {
                this._commnum = value;
            }
        }

        public string CommSpec
        {
            get
            {
                return this._commspec;
            }
            set
            {
                this._commspec = value;
            }
        }

        public int CommTypeId
        {
            get
            {
                return this._commtypeid;
            }
            set
            {
                this._commtypeid = value;
            }
        }

        public string CommUnit
        {
            get
            {
                return this._communit;
            }
            set
            {
                this._communit = value;
            }
        }

        public decimal DefaultPrice
        {
            get
            {
                return this._defaultprice;
            }
            set
            {
                this._defaultprice = value;
            }
        }

        public int IsAllowDiscount
        {
            get
            {
                return this._isallowdiscount;
            }
            set
            {
                this._isallowdiscount = value;
            }
        }

        public DateTime lastUpdateTime
        {
            get
            {
                return this._lastupdatetime;
            }
            set
            {
                this._lastupdatetime = value;
            }
        }

        public decimal MinDiscount
        {
            get
            {
                return this._mindiscount;
            }
            set
            {
                this._mindiscount = value;
            }
        }

        public int OrderNum
        {
            get
            {
                return this._ordernum;
            }
            set
            {
                this._ordernum = value;
            }
        }
    }
}

